home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / tos / futils / futils~1 / src / misc1s.zoo / misc1 / find-3.2 / ChangeLog < prev    next >
Encoding:
Text File  |  1991-08-28  |  21.8 KB  |  695 lines

  1. Wed Aug 28 20:53:57 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  2.  
  3.     * Version 3.2.
  4.  
  5. Mon Aug 26 18:57:32 1991  David J. MacKenzie  (djm at pogo.gnu.ai.mit.edu)
  6.  
  7.     * bigram.c, code.c: Fix handling of PATH_MAX.
  8.     Check for anomalous input line lengths.
  9.     From Bruce Evans.
  10.  
  11. Fri Aug 23 11:00:18 1991  David J. MacKenzie  (djm at apple-gunkies)
  12.  
  13.     * pred.c (pred_fprintf): Round block number up to get K.
  14.  
  15. Thu Aug 22 10:46:30 1991  David J. MacKenzie  (djm at apple-gunkies)
  16.  
  17.     * pred.c (pred_fprintf, pred_lname) [_AIX]: Allocate PATH_MAX
  18.     byte for link object since st_size is wrong.
  19.  
  20.     * listfile.c (list_file): Don't convert blocks to kilobytes if
  21.     env. var POSIX_ME_HARDER is defined.
  22.  
  23.     * fstype.c [FS_AIX_STATFS]: New case.
  24.  
  25.     * configure: Make sure the sys/mount.h is the 4.4BSD version
  26.     with grep instead of just testing whether it exists.
  27.  
  28.     * listfile.c (list_file): Add 1 to number of 512-byte blocks
  29.     before dividing to get 1K blocks (so we round up, not down).
  30.  
  31. Wed Aug 21 13:02:46 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  32.  
  33.     * Version 3.1.
  34.  
  35.     * parser.c (parse_fprintf), pred.c (pred_fprintf): Add %k
  36.     conversion to print 1K blocks.
  37.  
  38.     * listfile.c: Print counts of 1K blocks, for consistency with
  39.     new fileutils release.  Bad timing, there.
  40.  
  41.     * Version 3.0.
  42.  
  43.     * pred.c [VOID_CLOSEDIR]: Fake a return value for closedir,
  44.     which returns void on some systems, like Sequents.
  45.     * configure: Check sys/dir.h for 'void closedir'.
  46.  
  47. Thu Aug 15 16:07:46 1991  David J. MacKenzie  (djm at frob)
  48.  
  49.     * modetype.h: Define POSIX.1 stat stuff if missing.
  50.     * pred.c, parser.c, find.c, fstype.c: Don't define it.
  51.     * updatedb.sh: Use a variable substitution method like configure's.
  52.     * Makefile.in: Add datadir variable to separate programs from
  53.     data file.
  54.  
  55.     * parser.c, pred.c: Rename -fulldays to -daystart.
  56.  
  57.     * defs.h, find.c, parser.c, pred.c: Add many new predicates
  58.     from Jay Plett (jay@princeton.edu).
  59.  
  60. Wed Aug 14 14:37:06 1991  David J. MacKenzie  (djm at bleen)
  61.  
  62.     * parser.c (parse_size), pred.c (pred_size), defs.h (struct
  63.     size_t): Allow `k' to follow number to measure size in Kbytes.
  64.     * parser.c (parse_size, get_num, insert_num), defs.h (struct
  65.     size_t): Use enum comparison_type instead of short.
  66.  
  67. Fri Aug  9 00:49:32 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  68.  
  69.     * xargs.c (read_line): Use isblank, to support POSIX locales.
  70.  
  71.     * fstype [FS_STATVFS]: New code for SVR4, from slootman@dri.nl
  72.     (Paul Slootman).
  73.     * configure: Figure out when to use it.
  74.  
  75.     * configure: Check for st_blocks in struct stat.
  76.     * listfile.c (ST_NBLOCKS): New macro.
  77.     (list_file): Print file's block count.
  78.     Use S_ISLNK instead of S_IFLNK.
  79.     * fileblocks.c: New file, from fileutils.
  80.  
  81. Thu Aug  8 17:20:19 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  82.  
  83.     * parser.c, pred.c [CACHE_IDS]: Optional code to turn uid and
  84.     gid lookups into table lookups.
  85.  
  86. Wed Aug  7 00:22:29 1991  David J. MacKenzie  (djm at wheat-chex)
  87.  
  88.     * configure, Makefile.in's: Support +srcdir option via VPATH.
  89.     Clean up clean targets.
  90.  
  91. Sat Jul 20 01:11:51 1991  David J. MacKenzie  (djm at apple-gunkies)
  92.  
  93.     * configure: Filter /etc and /usr/etc from path.
  94.  
  95.     * xargs.c (wait_for_proc): Fix handling of child exit status.
  96.     (main): Exit with a nonzero status if any child did.
  97.  
  98.     * pred.c (launch): Flush stdout and stderr before forking.
  99.  
  100.     * fstype.c (filesystem_type) [FS_MNTENT]: Skip entries of
  101.     type "ignore".
  102.  
  103. Fri Jul 19 22:53:42 1991  David J. MacKenzie  (djm at bleen)
  104.  
  105.     * pred.c, locate.c: Use fnmatch instead of glob_match.
  106.     * fnmatch.c, fnmatch.h: New files.
  107.  
  108.     * Many files: Use string.h if STDC_HEADERS, as well as if USG.
  109.  
  110.     * locate.c, code.c, bigram.c: Possibly use pathconf to get
  111.     PATH_MAX.  Use malloc to allocate path arrays.
  112.  
  113.     * xargs.c: Possibly use sysconf to get ARG_MAX.
  114.     (env_size): Make definition unconditional.
  115.     (main): Do arg_max adjustment that can't be done with
  116.     preprocessor now that ARG_MAX might be a function call.
  117.     (do_exec): Exit with status 126 or 127 after failed exec, for
  118.     POSIX.2 draft 11.1.
  119.  
  120.     * xargs.c, pred.c, listfile.c: Use POSIX, not UNISTD_MISSING.
  121.     * wait.h: Use POSIX, not WAIT_MACROS_MISSING.
  122.  
  123.     * COPYING: Use version 2.  Update all files.
  124.  
  125.     * Replace Makefile and lib/Makefile with Makefile.in,
  126.     lib/Makefile.in and configure.  Update README.
  127.  
  128. Fri Apr  5 12:49:09 1991  David J. MacKenzie  (djm at apple-gunkies)
  129.  
  130.     * Version 2.2.
  131.  
  132. Fri Mar 15 20:44:45 1991  David J. MacKenzie  (djm at geech.ai.mit.edu)
  133.  
  134.     * xargs.c (main): Always run the command if some args are left over.
  135.     Rename some variables.
  136.  
  137. Fri Jan 18 03:35:57 1991  David J. MacKenzie  (djm at geech.ai.mit.edu)
  138.  
  139.     * bigram.c, code.c, locate.c: Use LIMITS_MISSING, not
  140.     _POSIX_SOURCE, to decide whether to include limits.h.
  141.  
  142.     * parser.c, pred.c, listfile.c: Use POSIX, not _POSIX_SOURCE,
  143.     to decide whether to declare getpwuid and getgrgid.
  144.  
  145.     * xargs.c: Use POSIX, not _POSIX_SOURCE, to determine whether
  146.     to include memory.h.
  147.  
  148. Sat Jan 12 04:12:34 1991  David J. MacKenzie  (djm at wookumz.ai.mit.edu)
  149.  
  150.     * defs.h, find.c, parser.c, pred.c: Remove -permmask option.
  151.  
  152. Thu Jan 10 04:32:52 1991  David J. MacKenzie  (djm at albert.ai.mit.edu)
  153.  
  154.     * wait.h: Include sys/types.h to get pid_t.
  155.  
  156.     * xargs.c [USG && !STDC_HEADERS]: Only include memory.h if not
  157.     _POSIX_SOURCE.
  158.  
  159. Tue Jan  1 23:53:32 1991  David J. MacKenzie  (djm at albert.ai.mit.edu)
  160.  
  161.     * Version 2.1.
  162.  
  163. Wed Dec 26 03:25:51 1990  David J. MacKenzie  (djm at apple-gunkies)
  164.  
  165.     * locate.c, bigram.c, code.c: Attempt to get max. path length
  166.     on more kinds of systems, incl. POSIX.
  167.  
  168.     * pred.c, listfile.c, xargs.c: Get some decls from unistd.h,
  169.     if available. 
  170.  
  171.     * find.c, defs.h: Make `cur_day_start' a time_t, not long.
  172.  
  173. Fri Dec 21 01:49:12 1990  David J. MacKenzie  (djm at egypt)
  174.  
  175.     * defs.h, parser.c: Remove unused field from `struct exec_t'.
  176.  
  177.     * xargs.c: Add +no-run-if-empty option to cause the command to
  178.     not be run if the input is empty.
  179.  
  180.     * defs.h (struct exec_t): Change the array of offsets into an
  181.     array of `struct path_arg'.
  182.     * parser.c (insert_exec_ok): Fill in new fields, to allow "{}"
  183.     to be substituted (multiple times) anywhere in an arg to -exec
  184.     or -ok.
  185.     * pred.c (pred_exec): Add code to substitute "{}" within args.
  186.     (pred_ok): After prompting, just run pred_exec.
  187.  
  188. Thu Dec 20 02:32:09 1990  David J. MacKenzie  (djm at egypt)
  189.  
  190.     * fstype.c (filesystem_type) [FS_MNTENT]: Allow for optional
  191.     "0x" at front of "dev=" mount option, which amd puts there but
  192.     Sun automounter doesn't.
  193.  
  194. Sat Dec 15 19:01:12 1990  David J. MacKenzie  (djm at egypt)
  195.  
  196.     * find.c (main), util.c (usage): Make directory args optional,
  197.     defaulting to ".".
  198.  
  199. Sat Dec 15 18:36:29 1990  David J. MacKenzie  (djm at apple-gunkies)
  200.  
  201.     * listfile.c: Define major and minor if not defined (as in POSIX).
  202.  
  203. Mon Dec  3 01:04:35 1990  David J. MacKenzie  (djm at alborz)
  204.  
  205.     * find.c, fstype.c, parser.c, pred.c, util.c: Flush stdout before
  206.     writing to stderr, in case they have been redirected to the
  207.     same file descriptor.
  208.  
  209.     * pred.c (launch): Use POSIX wait macros from wait.h.
  210.  
  211.     * xargs.c (print_xargs): Read from tty_stream, not stdin.
  212.  
  213. Tue Nov 20 16:48:24 1990  David J. MacKenzie  (djm at apple-gunkies)
  214.  
  215.     * Version 2.0.
  216.  
  217.     * fstype.c [FS_USG_STATFS]: New code.
  218.     [FS_STATFS]: For symlinks, statfs the directory the link is in
  219.     instead of the link.
  220.     * Various files: Conditionalize some declarations on
  221.     STDC_HEADERS or _POSIX_SOURCE.
  222.  
  223. Fri Nov 16 12:24:43 1990  David J. MacKenzie  (djm at egypt)
  224.  
  225.     * modetype.h: New file.
  226.     parser.c, pred.c: Use it.
  227.  
  228. Thu Nov 15 18:05:54 1990  David J. MacKenzie  (djm at apple-gunkies)
  229.  
  230.     * xmalloc.c: New file from fileutils.
  231.  
  232.     * fstype.c (fstype_to_string): Add case for MFS.
  233.     (filesystem_type): Take a pathname as a second arg.
  234.     [FS_STATFS] return "unknown" instead of exiting if statfs
  235.     fails because of ENOENT.
  236.     * pred.c (pred_fstype): Pass the pathname.  Set current_dev.
  237.     * find.c (process_path): Make root_dev local again.
  238.  
  239. Mon Nov 12 02:54:00 1990  David J. MacKenzie  (djm at apple-gunkies)
  240.  
  241.     * pred.c (pred_fstype): Free old fs type.
  242.  
  243.     * fstype.c, pred.c (pred_fstype), parser.c (parse_fstype): 
  244.     Reread the file system type info. every time a filesystem
  245.     mount point is crossed, to allow for automounting.
  246.  
  247.     * xstrdup.c: New file from fileutils.
  248.  
  249.     * find.c (process_path): Rename root_dev to current_dev and
  250.     make it global, for -fstype.
  251.  
  252.     * wait.h: New file taken from xargs.c.
  253.  
  254.     * xargs.c: Make limits.h vs. sys/param.h conditional on
  255.     LIMITS_MISSING instead of USG, to accomodate SVR2.
  256.  
  257. Thu Nov  8 11:52:22 1990  David J. MacKenzie  (djm at apple-gunkies)
  258.  
  259.     * parser.c, pred.c, listfile.c: If not _POSIX_SOURCE, declare
  260.     getpwuid and getgrgid.  Use them.
  261.  
  262.     * listfile.c: If not _POSIX_SOURCE, define S_ISDIR and
  263.     S_ISBLK.  Use them. 
  264.  
  265.     * find.c: Use S_ISDIR instead of S_IFDIR, and define if not
  266.     _POSIX_SOURCE. 
  267.  
  268.     * Makefile: Define AR and RANLIB and pass to child makes.
  269.     lib/Makefile: Use them.
  270.  
  271.     * xargs.c (WIFSIGNALED): Redefine so it works.
  272.  
  273. Mon Nov  5 00:02:01 1990  David J. MacKenzie  (djm at apple-gunkies)
  274.  
  275.     * find.c (process_path): For -xdev, process filesystem
  276.     mountpoints (but don't descend them), instead of skipping them
  277.     entirely. 
  278.  
  279.     * find.c, parser.c, defs.h: Add -follow predicate.
  280.  
  281.     * xargs.c: Change ifdefs to support STDC POSIX systems.
  282.  
  283. Sat Nov  3 20:18:05 1990  David J. MacKenzie  (djm at apple-gunkies)
  284.  
  285.     * xargs.c (do_exec): Child process exits with status 255, not
  286.     127, if command can't be run.
  287.  
  288. Fri Nov  2 02:11:42 1990  David J. MacKenzie  (djm at apple-gunkies)
  289.  
  290.     * xargs.c: Exit with status 127 if running commmand fails, as
  291.     required by POSIX.
  292.  
  293.     * fstype.c: Support -fstype for Ultrix (-DFS_GETMNT).
  294.     Sun/BSD code is now -DFS_MNTENT.
  295.  
  296. Thu Nov  1 13:06:01 1990  David J. MacKenzie  (djm at egypt)
  297.  
  298.     * Reorganize into subdirectories and add xargs.  Rewrite Makefiles.
  299.  
  300.     * find.c (process_path, main): Allow a maxdepth of 0, meaning
  301.     only process command line args.
  302.  
  303.     * parser.c, pred.c: Add -print0 predicate.
  304.  
  305.     * xargs.c: Add -0 option and long options.  Move standard
  306.     library functions into separate files.  Use error instead of
  307.     fatal and fprintf/perror.  Use POSIX macros for examining exit
  308.     status from wait.
  309.     (read_string): New function.
  310.  
  311. Fri Sep 21 10:21:09 1990  David J. MacKenzie  (djm at apple-gunkies)
  312.  
  313.     * find.c (process_path): Take DEPTH as an arg instead of ROOT,
  314.     and change callers.
  315.  
  316. Thu Sep 20 23:58:47 1990  David J. MacKenzie  (djm at apple-gunkies)
  317.  
  318.     * parser.c (parse_maxdepth): New function.
  319.     * find.c (process_path): If -maxdepth was given, don't go
  320.     more than that many levels deep.
  321.     * defs.h: Declare maxdepth.
  322.  
  323. Wed Sep 12 02:12:31 1990  David J. MacKenzie  (djm at apple-gunkies)
  324.  
  325.     * parser.c: Add -not as synonym for !.
  326.  
  327. Sun Aug 26 06:16:08 1990  Jim Kingdon  (kingdon at pogo.ai.mit.edu)
  328.  
  329.     * Makefile (TAGS): New target.
  330.  
  331. Sun Aug 12 00:32:01 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  332.  
  333.     * xargs.c (main): Tell getopt to not permute.
  334.  
  335. Sat Aug  4 21:43:45 1990  David J. MacKenzie  (djm at pogo.ai.mit.edu)
  336.  
  337.     * parser.c (parse_perm), pred.c (pred_perm): Always compare
  338.     bits 07777.
  339.  
  340.     * locate.c, Makefile: Rename 'fastfind' program to 'locate',
  341.     following comment in POSIX.2 draft 10 rationale for find.
  342.  
  343. Wed Jul 25 18:45:03 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  344.  
  345.     * listfile.c (getuser, getgroup): Make uid and gid unsigned
  346.     short, not int.
  347.  
  348. Mon Jul 16 13:40:13 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  349.  
  350.     * defs.h: Don't declare fprintf and printf, in case they have
  351.     prototypes in stdio.h (important for functions that use stdarg).
  352.  
  353. Sun Jul 15 23:39:39 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  354.  
  355.     * parser.c (parse_and): New function, for compatibility.
  356.  
  357. Wed Jul  4 00:17:57 1990  David J. MacKenzie  (djm at apple-gunkies)
  358.  
  359.     * find.c (main): Only enclose expressions that produce no side
  360.     effects within `( ... )'.
  361.  
  362. Tue Jul  3 01:59:39 1990  David J. MacKenzie  (djm at apple-gunkies)
  363.  
  364.     * parser.c (strspn): Stop when end of string reached.
  365.  
  366.     * Version 1.2.
  367.  
  368.     * Move version number from Makefile to new file version.c.
  369.     * parser.c: Recognize new -version predicate.
  370.  
  371.     * find.c (main): If no predicates that produce output are
  372.     given, default to -print if the entire expression is true, not
  373.     just the last part of an alternation.
  374.     * Print the names of predicates with invalid arguments.
  375.  
  376. Mon Jul  2 23:48:17 1990  David J. MacKenzie  (djm at apple-gunkies)
  377.  
  378.     * pred.c: Don't check for invalid comparison types in numeric
  379.     predicate functions.
  380.  
  381. Thu Jun 28 00:34:57 1990  David J. MacKenzie  (djm at apple-gunkies)
  382.  
  383.     * parser.c (parse_regex): Set fastmap and translate before
  384.     compiling regex.
  385.  
  386. Mon Jun 25 18:08:59 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  387.  
  388.     * fastfind.c (fastfind): Initialize count to 0.
  389.  
  390.     * lib/updatedb.sh: Only do regex comparison on directories,
  391.     for speed.
  392.  
  393.     * listfile.c (list_file): Truncate user and group name to 8 chars.
  394.  
  395. Sun Jun 24 13:51:27 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  396.  
  397.     * Version 1.1.
  398.  
  399.     * Makefile [DISTFILES]: Add COPYING.
  400.  
  401. Fri Jun 22 03:54:27 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  402.  
  403.     * Version 1.0.
  404.  
  405. Tue Jun 19 03:55:28 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  406.  
  407.     * lib/updatedb.sh: Prune entries that match PRUNEREGEX.
  408.     Split up finding files from computing bigrams.
  409.     Use redirection instead of nonportable grep -s to detect sort
  410.     failure.  Optionally search network filesystems as well as
  411.     local ones.
  412.  
  413.     * pred.c (pred_regex): Match against full pathname instead of
  414.     just last element.
  415.     * util.c (basename): Return "/", not "", if given "/".
  416.  
  417.     * find.c (process_path): Fix error in handling "/" directory.
  418.  
  419. Mon Jun 18 01:49:16 1990  David J. MacKenzie  (djm at apple-gunkies)
  420.  
  421.     * parser.c [STRSPN_MISSING] (strspn): New function.
  422.  
  423. Sun Jun 17 13:54:09 1990  David J. MacKenzie  (djm at apple-gunkies)
  424.  
  425.     * listfile.c: New file.
  426.     * parser.c (parse_ls): New function.
  427.     * pred.c (pred_ls): New function.
  428.  
  429.     * find.c (main): Remove interface to fastfind, to prevent
  430.     conflict with POSIX syntax.
  431.     * util.c (usage): Remove fastfind syntax from message.
  432.     * fastfind.c (main): New function.
  433.     * Makefile: Make fastfind a separate program.
  434.  
  435.     * find.c (main): Print correct message if a predicate arg is
  436.     missing. 
  437.  
  438.     * parser.c (insert_exec_ok): Make args that start with a ';' but
  439.     contain other characters not terminate the command.
  440.  
  441. Fri Jun 15 00:33:45 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  442.  
  443.     * fstype.c: If MOUNTED isn't defined but MNT_MNTTAB is, use it
  444.     instead.  True for HP/UX, at least.
  445.  
  446. Thu Jun 14 10:10:25 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  447.  
  448.     * savedir.c: New file; now find won't run out of file
  449.     descriptors in deep trees.
  450.     * find.c (process_path): Use savedir.
  451.  
  452. Sat Jun  9 03:15:21 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  453.  
  454.     * parser.c (parse_permmask): Allow symbolic mode masks.
  455.     (parse_perm): Free 'struct change' when done with it.
  456.     (get_oct): Function removed.
  457.  
  458.     * find.c (process_path): Allow arbitrarily-long filenames.
  459.     More efficient string copying.  Initialize perm_mask to 07777
  460.     instead of -1.
  461.  
  462. Thu Jun  7 04:22:42 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  463.  
  464.     * Makefile, find.c: Use DIRENT to control whether <dirent.h>
  465.     is used.
  466.  
  467. Thu May 31 04:46:11 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  468.  
  469.     * parser.c (parse_regex): New function.
  470.     * pred.c (pred_regex): New function.
  471.  
  472.     * fstype.c (read_mtab): If mtab entry has a "dev=" option
  473.     (like in SunOS 4.1), use it, so there is no need to stat the
  474.     special file later on.
  475.     (xatoi, strstr): New functions.
  476.  
  477. Mon May 21 01:04:42 1990  David J. MacKenzie  (djm at abyss)
  478.  
  479.     * lib/updatedb.sh: Put BINDIR in PATH.
  480.  
  481.     * fstype.c: Do nothing if MNTENT_MISSING is defined.
  482.  
  483.     * fstype.c: New file.
  484.     * parser.c (parse_fstype): New function.
  485.     * pred.c (pred_fstype): New function.
  486.  
  487.     * parser.c (parse_newer): Failure to stat -newer file is a
  488.     fatal error.
  489.  
  490.     * pred.c (pred_ok): Flush output before reading.  Use getchar
  491.     instead of scanf.
  492.  
  493.     * pred.c (pred_prune): Return false if -depth given.
  494.     * find.c: Apply the predicates to the dir when -depth and
  495.     -prune are given.
  496.  
  497. Sun May 20 19:55:30 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  498.  
  499.     * pred.c (pred_prune): Set new global var `stop_at_current_level'.
  500.     * find.c (process_path): Test and reset it.
  501.  
  502. Fri May 18 01:56:17 1990  David J. MacKenzie  (djm at abyss)
  503.  
  504.     * modechange.c, modechange.h: New files.
  505.     * parser.c (parse_perm): Use mode_compile and mode_adjust to
  506.     parse arg, to allow symbolic mode for POSIX.
  507.  
  508. Thu May 17 02:07:44 1990  David J. MacKenzie  (djm at abyss)
  509.  
  510.     * parser.c (get_oct): Don't consider an empty string a valid number.
  511.  
  512.     * parser.c (parse_perm): If arg starts with '-', set flag bit
  513.     for special comparison (POSIX).
  514.     * pred.c (pred_perm): If flag bit set, compare s[ug]id &
  515.     sticky bits as well, and return true if the given perms are
  516.     set, ignoring other bits.
  517.  
  518.     * find.c: New global var `exit_status'.  Use it.  (POSIX)
  519.     * parser.c: Set `exit_status' if lstat on -newer file fails.
  520.  
  521.     * fastfind.c: New file.
  522.     * find.c (main): Call fastfind if given only 1 arg.
  523.     * util.c (usage): Update message. 
  524.     * lib/{Makefile,updatedb.sh,bigram.c,code.c}: New files.
  525.     * Makefile: Add 'all' and 'install' targets.
  526.  
  527. Wed May 16 23:23:35 1990  David J. MacKenzie  (djm at abyss)
  528.  
  529.     * parser.c (parse_nogroup, parse_nouser): Implement.
  530.     * pred.c (pred_nogroup, pred_nouser): Implement.
  531.  
  532. Mon May 14 00:09:35 1990  David J. MacKenzie  (djm at abyss)
  533.  
  534.     * find.c: Add variable `stay_on_filesystem' for -xdev.
  535.     (process_path): Take an arg determining whether this call is
  536.     the root of a tree.  Use lstat instead of stat.  If
  537.     stay_on_filesystem, don't process a dir on a different
  538.     filesystem. 
  539.  
  540.     * parser.c (parse_newer): Use lstat instead of stat.  Is this right?
  541.     (parse_xdev): Set stay_on_filesystem.
  542.  
  543.     * parser.c: Add dummy parse_nogroup, parse_nouser,
  544.     parse_prune, and parse_xdev; to be written later.
  545.     * pred.c: Add dummy pred_nogroup, pred_nouser, pred_prune.
  546.  
  547.     * find.c: Support System V directory library/headers.
  548.  
  549.     * find.c (process_path): Don't continue with a file that stat
  550.     fails on.
  551.  
  552.     * defs.h, parser.c, pred.c: Change 'u_long' and 'u_short' to
  553.     'unsigned long' and 'unsigned short'.
  554.     * find.c, defs.h: Remove 'convert_glob' variable.
  555.     * parser.c (parse_fullregex): Function removed.
  556.     (parse_name): Remove regular expression code.
  557.     (parse_type): Recognize sockets.
  558.     Add code to check for missing arguments to many parse_* functions.
  559.     * pred.c (pred_name): Use glob_match instead of regex.
  560.  
  561. Sun May 13 17:45:09 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  562.  
  563.     * Replace fprintf, simple_error, and mem_error with error and
  564.     usage. 
  565.  
  566.     * Fix string header includes for USG.
  567.  
  568. Tue Mar 27 12:40:29 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  569.  
  570.     * defs.h: Change some #defines to enums.
  571.  
  572. Sun Mar 25 22:08:58 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  573.  
  574.     * find.c (main): Don't take basename of argv[0].
  575.  
  576.     * util.c (xmalloc): New function.
  577.     * find.c, parser.c, utils.c: Use xmalloc instead of malloc.
  578.  
  579.     * pred.c: Remove emulation of regex for BSD and use GNU
  580.     library version in regcmp.c instead.
  581.     * parser.c: Remove emulation of regcmp for BSD and use GNU
  582.     library version in regcmp.c instead.
  583.     * Makefile: Link with regex.o and regcmp.o.
  584.     Add a DISTFILES macro and dist target.
  585.  
  586.     * Indent source code.  Move RCS logs to this file.
  587.  
  588. Wed Mar 21 09:30:18 1990  David J. MacKenzie  (djm at pogo.ai.mit.edu)
  589.  
  590.     * xargs.c: Indent.  Comment and rename some global variables.
  591.     (main): Use getopt to parse options.  Open new global var
  592.     `tty_stream' to /dev/tty if querying requested.
  593.     (print_args): Read response from tty_stream, not stdin.
  594.     (xmalloc): New function.
  595.     Global: Use xmalloc instead of malloc.
  596.     (usage): Revise message.
  597.  
  598. 87/02/22  20:01:20  20:01:20  cire (Eric B. Decker)
  599.  
  600.     * pred.c: added guts to pred_size
  601.  
  602. 87/02/22  00:59:42  00:59:42  cire (Eric B. Decker)
  603.  
  604.     * pred.c: added guts to perm and permmask.
  605.  
  606. 87/02/21  23:02:21  23:02:21  cire (Eric B. Decker)
  607.  
  608.     * pred.c: made pred_name only look at the last component of
  609.     the path.
  610.  
  611. 87/02/21  22:26:47  22:26:47  cire (Eric B. Decker)
  612.  
  613.     * pred.c: added guts to name.  useds regex and regcmp to do
  614.     regular expression handling.
  615.  
  616. 87/02/21  00:17:21  00:17:21  cire (Eric B. Decker)
  617.  
  618.     * pred.c: added predicate newer
  619.  
  620. 87/02/20  11:40:07  11:40:07  cire (Eric B. Decker)
  621.  
  622.     * pred.c: added guts to pred_ok
  623.  
  624. 87/02/19  23:52:37  23:52:37  cire (Eric B. Decker)
  625.  
  626.     * pred.c: finished exec.
  627.  
  628. 87/02/22  20:01:09  20:01:09  cire (Eric B. Decker)
  629.  
  630.     * parser.c: added guts to parse_size
  631.  
  632. 87/02/22  00:59:16  00:59:16  cire (Eric B. Decker)
  633.  
  634.     * parser.c: added guts of perm and permmask.  added getoct
  635.     routine for perm and permmask
  636.  
  637. 87/02/21  23:32:50  23:32:50  cire (Eric B. Decker)
  638.  
  639.     * parser.c: added -fre, -fullregex predicate to turn off
  640.     globbing conversion
  641.  
  642. 87/02/21  23:01:01  23:01:01  cire (Eric B. Decker)
  643.  
  644.     * parser.c: reworked name so the regexpr pattern includes $ at
  645.     the end to force globbing to work correctly.  End of the
  646.     pattern refers to the end of the filename.
  647.  
  648. 87/02/21  22:25:34  22:25:34  cire (Eric B. Decker)
  649.  
  650.     * parser.c: added guts to name.  uses a conversion from
  651.     globbing to regexp format.  uses regex and regcmp to actually
  652.     to the comparison.
  653.  
  654. 87/02/21  00:17:11  00:17:11  cire (Eric B. Decker)
  655.  
  656.     * parser.c: added predicate newer
  657.  
  658. 87/02/20  11:39:35  11:39:35  cire (Eric B. Decker)
  659.  
  660.     * parser.c: added ok guts.  consolidated exec and ok to using
  661.     insert_exec_ok
  662.  
  663. 87/02/19  00:20:54  00:20:54  cire (Eric B. Decker)
  664.  
  665.     * parser.c: minor bug in -fulldays predicate parser.  It
  666.     should have set the flag full_days to true.
  667.  
  668. 87/02/22  00:58:32  00:58:32  cire (Eric B. Decker)
  669.  
  670.     * find.c: changed where we are setting perm_mask to -1.  need
  671.     to make sure that this happens before every apply_predicate.
  672.  
  673. 87/02/21  23:32:11  23:32:11  cire (Eric B. Decker)
  674.  
  675.     * find.c: added error checking for no paths.  better error
  676.     message if illegal ordering.
  677.  
  678. 87/02/21  22:19:58  22:19:58  cire (Eric B. Decker)
  679.  
  680.     * find.c: added global convert_glob
  681.  
  682. 87/02/22  20:00:12  20:00:12  cire (Eric B. Decker)
  683.  
  684.     * defs.h: added definition of BLKSIZE for size
  685.  
  686. 87/02/21  22:19:25  22:19:25  cire (Eric B. Decker)
  687.  
  688.     * defs.h: added global convert_glob for name
  689.  
  690. Local Variables:
  691. mode: indented-text
  692. left-margin: 8
  693. version-control: never
  694. End:
  695.